Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(developer): verify package version number format in kmc-package #13118

Merged

Conversation

mcdurdin
Copy link
Member

@mcdurdin mcdurdin commented Feb 3, 2025

Ensures that version number field is not blank, and is a recognized format matching the pattern 'number[.number[.number]]'. Each number component should be an integer, without leading zeroes.

The format chosen is more restrictive than semver, because much of our existing infrastructure assumes this format anyway. This does lead to a mismatch in version number format for LDML keyboards, which do support semver according to the spec, so this may need to be revisited in the future to allow for full semver formats.

I have tested this against both the lexical models and keyboards repositories.

Fixes: #13067

@keymanapp-test-bot skip

Ensures that version number field is not blank, and is a recognized
format matching the pattern 'number[.number[.number]]'. Each number
component should be an integer, without leading zeroes.

The format chosen is more restrictive than semver, because much of our
existing infrastructure assumes this format anyway. This does lead to
a mismatch in version number format for LDML keyboards, which do support
semver according to the spec, so this may need to be revisited in the
future to allow for full semver formats.

Fixes: #13067
@keymanapp-test-bot
Copy link

keymanapp-test-bot bot commented Feb 3, 2025

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

@mcdurdin mcdurdin merged commit d5a594a into master Feb 10, 2025
6 checks passed
@mcdurdin mcdurdin deleted the feat/developer/13067-verify-version-format-in-kmc-package branch February 10, 2025 01:18
@keyman-server
Copy link
Collaborator

Changes in this pull request will be available for download in Keyman version 18.0.188-alpha

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

feat(developer): verify version number and folder name in lexical models info build
3 participants